Get the specified parameter name. If the given parameter does not have a value, return the given defaultStr